import Cookie from 'js-cookie'

export const getToken = () => {
  return Cookie.get('token')
}

export const refresh = async () => {
  Cookie.set('token', Math.random() * 10 ** 10)
}
